import constants from '@/utils/constants.js';
var RestUtil = function() {

};

RestUtil.prototype.getAction = function(scope, url) {
	return scope.axios.get(constants.ROOT_URL + url);
}

RestUtil.prototype.postAction = function(scope, url, data, config) {
	return scope.axios.post(constants.ROOT_URL + url, data, config);
}

export default new RestUtil();
